﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace EONFULLSIN.Utils
{
    public class Toast
    {
        public static void Show(Form form,string info)
        {
            form.Invoke(
                new Action(() =>
                {
                    AntdUI.Message.success(form, info, form.Font);
                })
            );
        }
    }
}
